<form accept-charset="utf-8" method="post" enctype="multipart/form-data">
    <aside class="right-side">
        <!-- BEGIN: Content Header (Page header) -->
        <section class="content-header">
            <h1>
                <small>Cấp nhật vị trí</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="http://demo011.ioi.vn/vn/tsmedia/home/"><i class="fa fa-dashboard"></i> Trang chủ</a></li>
                <li><a href="http://demo011.ioi.vn/vn/tsmedia/banner/">Danh sách banner</a></li>
                <li class="active">Cấp nhật vị trí</li>
            </ol>
        </section>
        <!-- END: Content Header (Page header) -->

        <!-- BEGIN: Main content -->
        <section class="content">
            <div class="row">
                <!-- BEGIN: Box Left -->
                <div class="col-md-6">
                    <!-- BEGIN: Danh mục banner -->
                    <div class="box box-solid box-danger">
                        <!-- BEGIN: Box-Header -->
                        <div class="box-header">
                            <h3 class="box-title">Danh mục Bài viết</h3>
                            <!-- BEGIN: Tools -->
                            <div class="pull-right box-tools">
                                <button class="btn btn-danger btn-sm" onclick="return false" data-widget="collapse" data-toggle="tooltip" title="" data-original-title="Thu gọn"><i class="fa fa-minus"></i></button>
                            </div>
                            <!-- END: Tools -->
                        </div>
                        <!-- END: Box-Header -->
                        <!-- BEGIN: Box-Body-->
                        <div class="box-body">
                            <div class="form-group">
                                <label>Danh mục</label>
                                <div class="dropdown_category">
                                    <input type="checkbox" value="0" checked name="menu_parent[]">Tất cả các trang</span>
                                    <span class="dropdown_category_list text_ccc"><input type="checkbox"  value="1" name="menu_parent[]">Menu top</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="2" name="menu_parent[]">Trang chủ</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="3" name="menu_parent[]">Giới thiệu</span><span class="dropdown_category_list category_children category_children_children text_ccc"><input  value="17" type="checkbox" name="menu_parent[]">Thông tin công ty</span><span class="dropdown_category_list category_children category_children_children text_ccc"><input  value="18" type="checkbox" name="menu_parent[]">Thư viện ảnh</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="19" type="checkbox" name="menu_parent[]">Hình ảnh công trình</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="20" type="checkbox" name="menu_parent[]">Hình ảnh Xuyên Hà Việt</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="4" name="menu_parent[]">Sản phẩm</span><span class="dropdown_category_list category_children category_children_children text_ccc"><input  value="12" type="checkbox" name="menu_parent[]">Thiết bị xây dựng</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="21" type="checkbox" name="menu_parent[]">Thiết bị cầu đường</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="22" type="checkbox" name="menu_parent[]">Thiết bị bê tông xi măng</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="28" type="checkbox" name="menu_parent[]">Thiết bị xây dựng nhà cao tầng</span><span class="dropdown_category_list category_children category_children_children text_ccc"><input  value="13" type="checkbox" name="menu_parent[]">Phụ tùng</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="29" type="checkbox" name="menu_parent[]">Phụ tùng sàn treo</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="31" type="checkbox" name="menu_parent[]">Phụ tùng vận thăng</span><span class="dropdown_category_list category_children category_children_children text_ccc"><input  value="14" type="checkbox" name="menu_parent[]">Thiết bị cho thuê</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="25" type="checkbox" name="menu_parent[]">Sàn treo thao tác</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="26" type="checkbox" name="menu_parent[]">Vận thăng nâng hàng</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="27" type="checkbox" name="menu_parent[]">Cẩu Tháp</span><span class="dropdown_category_list category_children category_children_children_children text_ccc"><input  value="32" type="checkbox" name="menu_parent[]">Vận thăng</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="5" name="menu_parent[]">Đối tác</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="6" name="menu_parent[]">Tin tức</span><span class="dropdown_category_list category_children category_children_children text_ccc"><input  value="15" type="checkbox" name="menu_parent[]">Tin tức thị trường</span><span class="dropdown_category_list category_children category_children_children text_ccc"><input  value="16" type="checkbox" name="menu_parent[]">Tin tức Xuyên Hà Việt</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="7" name="menu_parent[]">Tuyển dụng</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="10" name="menu_parent[]">Điều khoản sử dụng</span><span class="dropdown_category_list category_children text_ccc"><input type="checkbox"  value="11" name="menu_parent[]">Liên hệ</span>                        </div>
                                <div class="help-ts">
                                    <i class="fa fa-info-circle"></i>
                                    <span>Bạn chỉ chọn được 1 danh mục</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label">Chọn vị trí</label>

                                <div class="controls">
                                    <span class="dropdown_category_list">
                                        <div class="pd5"><label><input  type="radio" value="1" name="position_id">Đối tác</label></div><div class="pd5"><label><input checked type="radio" value="2" name="position_id">Banner</label></div>                        </div>
                            </div>
                        </div>
                        <!-- END: Box-Body-->
                    </div>
                    <!-- BEGIN: Danh mục banner -->

                    <!-- BEGIN: Nội dung bài viết-->
                    <div class="box box-solid box-info">
                        <!-- BEGIN: Box-Header -->
                        <div class="box-header">
                            <h3 class="box-title">Nội dung</h3>
                            <!-- BEGIN: Tools -->
                            <div class="pull-right box-tools">
                                <button class="btn btn-info btn-sm"  onclick="return false" data-widget="collapse" data-toggle="tooltip" title="" data-original-title="Thu gọn"><i class="fa fa-minus"></i></button>
                            </div>
                            <!-- END: Tools -->
                        </div>
                        <!-- END: Box-Header -->

                        <!-- BEGIN: Box-Body-->
                        <div class="box-body">
                            <div class="form-group">
                                <div class="controls">
                                    <textarea placeholder="Nhập Nội dung" id="banner_detail" name="banner_detail"></textarea>
                                </div>
                            </div>
                        </div>
                        <!-- END: Box-Body-->
                    </div>
                    <!-- END: Nội dung bài viết-->
                </div>
                <!-- END: Box Left -->
                <!-- BEGIN: Box Right -->
                <div class="col-md-6">
                    <!-- BEGIN: Tiêu đề nội dung -->
                    <div class="box box-solid box-primary">
                        <!-- BEGIN: Box-Header -->
                        <div class="box-header">
                            <h3 class="box-title">Tiêu đề Nội dung</h3>
                            <!-- BEGIN: Tools -->
                            <div class="pull-right box-tools">
                                <button class="btn btn-primary btn-sm"  onclick="return false" data-widget="collapse" data-toggle="tooltip" title="" data-original-title="Thu gọn"><i class="fa fa-minus"></i></button>
                            </div>
                            <!-- END: Tools -->
                        </div>
                        <!-- END: Box-Header -->

                        <!-- BEGIN: Box-Body-->
                        <div class="box-body">
                            <div class="form-group">
                                <label>Tiêu đề</label>
                                <div class="controls">
                                    <input type="text" required="required" class="form-control" name="banner_title" id="banner_title" value="banner10">
                                </div>
                            </div>

                            <div class="form-group">
                                <label>Link Liên kết</label>
                                <div class="controls">
                                    <input type="text" class="form-control" name="banner_link" id="banner_link" placeholder="Nhập link" value="">
                                </div>
                                <div class="help-ts">
                                    <i class="fa fa-info-circle"></i>
                                    <span>Nhập link bạn muốn liên kết</span>
                                </div>
                            </div>


                            <div class="row">
                                <div class="col-md-6 form-group">
                                    <label class="control-label">Trạng thái</label>
                                    <div class="controls" style="line-height: 34px;">
                                        <input type="radio" value="1" checked name="banner_status"/> <i class="fa fa-eye"></i> Hiển thị                                <input type="radio" value="0"  name="banner_status"/> <i class="fa fa-eye-slash"></i> Ẩn                            </div>
                                </div>
                                <div class="col-md-6 form-group">
                                    <label>Số thứ tự</label>
                                    <div class="controls">
                                        <input type="text" class="form-control" name="banner_orderby" id="banner_orderby" value="1">
                                    </div>
                                </div>
                            </div>

                        </div>
                        <!-- END: Box-Body-->
                    </div>
                    <!-- END: Tiêu đề nội dung -->
                    <!-- BEGIN: Thư viện Upload -->
                    <div class="box box-solid box-warning">
                        <!-- BEGIN: Box-Header -->
                        <div class="box-header">
                            <h3 class="box-title">Thư viện</h3>
                            <!-- BEGIN: Tools -->
                            <div class="pull-right box-tools">
                                <button class="btn btn-warning btn-sm"  onclick="return false" data-widget="collapse" data-toggle="tooltip" title="" data-original-title="Thu gọn"><i class="fa fa-minus"></i></button>
                            </div>
                            <!-- END: Tools -->
                        </div>
                        <!-- END: Box-Header -->

                        <!-- BEGIN: Box-Body-->
                        <div class="box-body">
                            <!--begin anh dai dien-->
                            <div class="control-group">
                                <label class="control-label">Ảnh đại diện</label>
                                <div class="controls">
                                    <span class="btn btn-success fileinput-button btn-sm">
                                        <span>Chọn file ...</span>
                                        <input id="banner_picture" type="file" name="files[]" multiple="">
                                    </span>

                                    <div class="progress-ts">
                                        <i class="fa fa-upload"></i>
                                        <div id="progress_picture" class="progress sm progress-striped active">
                                            <div class="progress-bar progress-bar-success bar" role="progressbar" aria-valuenow="20"
                                                 aria-valuemin="0" aria-valuemax="100">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="alert alert-info alert-dismissable">
                                        <i class="fa fa-image"></i>
                                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                                        <ul id="files_picture" class="file_reset list-inline">

                                            <li>
                                                <a href="http://demo011.ioi.vn/public/frontend/uploads/files/banner/slider_3 (1).jpg" class="img-upload zoom_img tip-bottom cboxElement" title="Bấm vào xem ảnh lớn">
                                                    <img src="http://demo011.ioi.vn/public/frontend/uploads/files/banner/thumbnail/slider_3 (1).jpg" class="img-circle" alt="slider_3 (1).jpg" title="slider_3 (1).jpg"/>
                                                </a>
                                                <i class="fa fa-trash-o trash_file_upload" data-file="picture" title="Xóa slider_3 (1).jpg" data-id="34" data-name="slider_3 (1).jpg"></i>
                                                <input type="hidden" name="banner_picture" value="slider_3 (1).jpg" />
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <!--end anh dai dien-->
                        </div>
                    </div>
                    <!-- END: Thư viện Upload -->
                </div>
                <!-- END: Box Right -->
            </div>

            <!-- BEGIN: Box-Footer-->
            <div class="box-footer text-center">
                <button type="submit" class="btn btn-primary" value="Save">
                    <i class="fa fa-save"></i>
                    <span>Lưu</span>
                </button>
                <button type="reset" class="btn btn-danger" value="Reset">
                    <i class="fa fa-refresh"></i>
                    <span>Nhập lại</span>
                </button>
            </div>
            <!-- END: Box-Footer-->
        </section>
        <!-- END: Main content -->
    </aside>
</form>
<script type="text/javascript">
        /**begin ckeditor*/
        //CKEDITOR.replace("news_detail");
        /**end ckeditor*/
        /**begin ckeditor basic*/
        CKEDITOR.replace("banner_detail", {
            toolbar: [
                {name: 'document', items: ['Source']},
                {name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align'], items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']},
                {name: 'links', items: ['Link', 'Unlink', 'Anchor']},
                {name: 'insert', items: ['Image', 'Flash', 'Table', 'HorizontalRule', 'Iframe']},
                {name: 'basicstyles', groups: ['basicstyles'], items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'TextColor', 'BGColor']},
                {name: 'format', items: ['Format', 'FontSize']},
                {name: 'cleaner', items: ['Maximize', 'RemoveFormat']},
                {name: 'cleaner', items: ['Save']}
            ]
        });
        /**end ckeditor basic*/
</script>